import os
def files_in_fir(dir):
    if not os.path.exists(dir):
        print('{} does not exist'.format(dir))
        return []
    files = sorted(os.listdir(dir))
    return files